package com.ehome.poct.base.dao.mapping;


import com.ehome.poct.base.api.vo.device.QrcodePrintHisDetVO;
import com.ehome.poct.base.api.vo.device.QrcodePrintHisVO;
import com.ehome.poct.base.dao.device.entity.TestDeviceQrcodePrintHisDO;
import com.ehome.poct.base.dao.device.entity.TestDeviceQrcodePrintHisHeadDO;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.Mappings;

import java.util.List;

/**
 * @description:
 * @author: cq
 * @time: 2022/07/14 11:48
 */
@Mapper(componentModel = "spring")
public interface DeviceQrcodePrintMapping {


    QrcodePrintHisVO to(TestDeviceQrcodePrintHisHeadDO data);

    List<QrcodePrintHisVO> toList(List<TestDeviceQrcodePrintHisHeadDO> datas);

    QrcodePrintHisDetVO toDetail(TestDeviceQrcodePrintHisDO data);

    List<QrcodePrintHisDetVO> toDetailList(List<TestDeviceQrcodePrintHisDO> datas);
}
